﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ActivitySystemPopUpPage.Master" AutoEventWireup="true" CodeBehind="UserEdit.aspx.cs" Inherits="ActivitySystem.Web.Admin.UserEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <style type="text/css">
        .div_contant
        {
            width: 700px;
        }
        .div_contant_head .sp_head
        {
            font-size: 20px;
            background-color: #4b6c9e;
            color: White;
            width: auto;
            padding-left: 10px;
            padding-right: 10px;
        }
        .div_contant_detail .tip
        {
            width: 95%;
            padding: 5px;
            font-size: 14px;
            background-color: InfoBackground;
            display: inline-block;
        }
        .div_contant_detail
        {
            border-style: solid;
            border-color: #4c6c9e;
            border-width: 2px;
            padding: 5px;
            margin-bottom: 5px;
        }
        .div_contant_detail span
        {
            display: -moz-inline-box;
            display: inline-block;
            width: 80px;
        }
        .div_contant_detail ul li
        {
            margin-bottom: 5px;
        }
        .div_contant_detail ul li input
        {
            width: 70%;
        }
        .div_contant_detail ul li textarea
        {
            width: 80%;
            height: 100px;
        }
    </style>
    <asp:ScriptManager ID="scriptManager" runat="server" />
    <asp:UpdatePanel ID="updatePanel" runat="server">
        <ContentTemplate>
            <div class="div_contant">
                <div class="div_contant_head">
                    <span class="sp_head">USER DETAIL</span>
                </div>
                <div class="div_contant_detail" id="div_examtemplate_detail">
                    <span id="sp_warning" class="tip" runat="server">Some fields on this page are disabled since the <b>Personnel System</b> is enabled currently.
                        <br />
                        You can go to <b>Personnel System</b> to edit these diabled fields.</span><br />
                    <ul>
                        <li><span>Id:</span><asp:TextBox ID="tbxId" runat="server" Enabled="false" /></li>
                        <li><span>User Id:</span><asp:TextBox ID="tbxUserId" runat="server" /></li>
                        <li><span>Name:</span><asp:TextBox ID="tbxUserName" runat="server" /></li>
                        <li><span>Password:</span><asp:TextBox ID="tbxPassword" runat="server" /></li>
                        <li><span>Mail:</span><asp:TextBox ID="tbxMail" runat="server" /></li>
                        <li><span>Department:</span><asp:TextBox ID="tbxDepartment" runat="server" /></li>
                        <li><span>Role:</span><asp:CheckBoxList ID="cblRole" runat="server" RepeatDirection="Horizontal" RepeatColumns="4" />
                        </li>
                        <li><span>Status</span>:<asp:DropDownList ID="ddlStatus" runat="server">
                            <asp:ListItem Value="True">Enable</asp:ListItem>
                            <asp:ListItem Value="False">Disable</asp:ListItem>
                        </asp:DropDownList>
                        </li>
                    </ul>
                    <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
